<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Overload a VM opcode</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.uopz-overload" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">uopz_overload</h1>
  <p class="verinfo">(PECL uopz 1, PECL uopz 2)</p><p class="refpurpose"><span class="refname">uopz_overload</span> &mdash; <span class="dc-title">Overload a VM opcode</span></p>

 </div>

 <div id="function.uopz-overload-refsynopsisdiv">
  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">This function has been
<em class="emphasis">REMOVED</em> in PECL uopz 5.0.0.</p></div>
 </div>

 <div class="refsect1 description" id="refsect1-function.uopz-overload-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>uopz_overload</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$opcode</code></span>
   , <span class="methodparam"><span class="type"><a href="language.types.callable.html" class="type Callable">Callable</a></span> <code class="parameter">$callable</code></span>
   ) : <span class="type"><span class="type void">void</span></span></div>

  <p class="para rdfs-comment">
 Overloads the specified <code class="parameter">opcode</code> with the user defined function
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-function.uopz-overload-parameters">
  <h3 class="title">参数</h3>
  <dl>

   
    <dt>
<code class="parameter">opcode</code></dt>

    <dd>

     <p class="para">
 A valid opcode, see constants for details of supported codes
     </p>
    </dd>

   
   
    <dt>
<code class="parameter">callable</code></dt>

    <dd>

     <p class="para">
      
     </p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.uopz-overload-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.uopz-overload-examples">
  <h3 class="title">范例</h3>
  <div class="example" id="example-580">
   <p><strong>Example #1 <span class="function"><strong>uopz_overload()</strong></span> example</strong></p>
   <div class="example-contents">
<div class="phpcode"><pre><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br />uopz_overload</span><span style="color: #007700">(</span><span style="color: #0000BB">ZEND_EXIT</span><span style="color: #007700">,&nbsp;function(){});<br /><br />exit();<br />echo&nbsp;</span><span style="color: #DD0000">"Hello&nbsp;World"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</pre></div>
   </div>

   <div class="example-contents"><p>以上例程会输出：</p></div>
   <div class="example-contents screen">
<div class="cdata"><pre>
Hello World
</pre></div>
   </div>
  </div>
 </div>



</div></div></div></body></html>